import { useCallback, useState } from "react";

export default () => {
    const [configStore, setConfigStore] = useState({
        servicename: 'test',
        taskform: [],
        pannels: [],
        version: 1
    })
    const [isDraggingNow, setIsDraggingNow] = useState(false)
    const changeConfigStore = useCallback((value) => {
        setConfigStore(() => {
            return value
        })
    }, [])
    return {
        configStore,
        setConfigStore,
        isDraggingNow,
        setIsDraggingNow
    }
}
